package org.linlinjava.litemall.wx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author ：stephen
 * @date ：Created in 2020/5/13 15:42
 * @description：TODO
 */
@Data
@ApiModel(value="获取订单详情商品类",description="获取订单详情商品类")
public class OrderDetailGoodsVo {

	@ApiModelProperty(value = "订单商品id")
    private Integer id;
	@ApiModelProperty(value = "订单id")
    private Integer orderId;
	@ApiModelProperty(value = "店铺id")
    private Integer shopId;
	@ApiModelProperty(value = "商品id")
    private Integer goodsId;
	@ApiModelProperty(value = "商品名称")
    private String goodsName;
	@ApiModelProperty(value = "商品编号")
    private String goodsSn;
	@ApiModelProperty(value = "商品所属类目ID")
    private Integer categoryId;
	@ApiModelProperty(value = "商品所属类目名称")
    private String categoryName;
	@ApiModelProperty(value = "购买数量")
    private Short number;
	@ApiModelProperty(value = "商品税价")
    private BigDecimal taxPrice;
	@ApiModelProperty(value = "单个商品售价(包含辅料价格)")
    private BigDecimal sellingPrice;
	@ApiModelProperty(value = "商品不含税总价格(=单个商品售价*数量)")
	private BigDecimal goodsPrice;
	@ApiModelProperty(value = "商品总价格(=商品不含税总价格+商品税价)")
	private BigDecimal price;
	@ApiModelProperty(value = "商品图片")
	private String picUrl;
	@ApiModelProperty(value = "规格列表")
	private String[] specifications;
	@ApiModelProperty(value = "规格价格")
	private BigDecimal specifPrice;
	@ApiModelProperty(value = "商品规格id列表")
	private Integer[] specificationIds;
	@ApiModelProperty(value = "订单商品评论，如果是-1，则超期不能评价；如果是0，则可以评价；如果其他值，则是comment表里面的评论ID。")
	private Integer comment;

//	@ApiModelProperty(value = "商品税费表")
//    private List<OrderDetailTaxVo> taxs;
	@ApiModelProperty(value = "商品辅料表")
	private List<OrderDetailAccessoryVo> accessoryVos;
	@ApiModelProperty(value = "商品规格表")
	private List<OrderDetailSpecVo> specificationList;
	@ApiModelProperty(value = "商品属性表")
	private List<OrderDetailPropVo> propList;

}
